package com.kingyun.gpsinspection.purificationservice.dao.mapper.jsm;


import com.kingyun.gpsinspection.purificationservice.facade.model.jsm.WorkCellInfo;

import java.util.List;
import java.util.Map;

/**
 * 操作单元映射
 */
public interface JsmWorkCellInfoMapper {

    /**
     * 操作单元ID
     * @param cellId
     * @return
     */
    int deleteByPrimaryKey(String cellId);
    /**
     * 操作单元-删除
     * @param cellId
     * @return
     */
    int deleteByPrimaryKeyByCellId(Map cellId);
    /**
     * 操作单元-插入
     * @param record
     * @return
     */
    int insert(WorkCellInfo record);
    /**
     * 操作单元-插入
     * @param record
     * @return
     */
    int insertSelective(WorkCellInfo record);
    /**
     * 操作单元-查询
     * @param cellId
     * @return
     */
    WorkCellInfo selectByPrimaryKey(String cellId);
    /**
     * 操作单元-修改
     * @param record
     * @return
     */
    int updateByPrimaryKeySelective(WorkCellInfo record);
    /**
     * 操作单元-分页查询问题
     * @param workCellInfo
     * @return
     */
    int queryCount(WorkCellInfo workCellInfo);
    /**
     * 操作单元-分页查询问题
     * @param workCellInfo
     * @return
     */
    List<WorkCellInfo> queryTableList(WorkCellInfo workCellInfo);

}